/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const serviceRouter = {
  path: '/service',
  component: Layout,
  redirect: '/service/couses',
  name: 'Service',
  meta: { title: '教务服务', icon: 'excel' },
  children: [
    {
      path: 'couses',
      component: () => import('@/views/stub'),
      name: 'Courses',
      meta: { title: '培养方案', icon: 'edit' }
    },
    {
      path: 'plans',
      component: () => import('@/views/stub'),
      name: 'Plans',
      meta: { title: '教学计划', icon: 'edit' }
    },
    {
      path: 'personal',
      component: () => import('@/views/stub'),
      name: 'personal',
      meta: { title: '个人课表', icon: 'edit' }
    },
    {
      path: 'class',
      component: () => import('@/views/stub'),
      name: 'class',
      meta: { title: '班级课表', icon: 'edit' }
    },
    {
      path: 'classroom',
      component: () => import('@/views/stub'),
      name: 'classroom',
      meta: { title: '教室课表', icon: 'edit' }
    },
    {
      path: 'books',
      component: () => import('@/views/stub'),
      name: 'books',
      meta: { title: '教材管理', icon: 'edit' }
    },
    {
      path: 'attendance',
      component: () => import('@/views/stub'),
      name: 'Attendance',
      meta: { title: '考勤管理', icon: 'edit' }
    }
  ]
}
export default serviceRouter
